package com.yyds.blackmagic.service.impl;

import com.yyds.blackmagic.entity.Chapter;
import com.yyds.blackmagic.mapper.ChapterMapper;
import com.yyds.blackmagic.service.ChapterService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @ClassName ChapterService
 * @Auther Dell
 * @Date 2021/12/16 15:20
 **/
@Service
public class ChapterServiceImpl implements ChapterService {
    @Resource
    private ChapterMapper chapterMapper;
    @Override
    public Chapter selectMu(int bid, int id) {
        Chapter cha = chapterMapper.selectMu(bid,id);
        return cha;
    }
}
